Matrix kernel routines now call for the internals of the matrix rather than a pointer to the matrix, needed to get rid of include statements in JIT functions