k Matrix Compiled :D