Specialized 2D matrix calculations in Matrix3D

A little less work for the CPU