Custom exceptons

vs-kernels also makes use of custom exceptions. These can be used to check for specific errors related to conversion, matrices, kernels, etc.