Change how we pass matrices in