Fixed up matrix multiplication