Matrix Kernel for Mako