Fixed matrix multiplication (thanks to bowerandy)