matrix multiplied by 3d vector