Matrix3d data strict type checking