cross product matrix transformation