Simplified how matrix storage orientations are dealth with