Fixing the issue of numRows not being initialized properly inside MatrixMatrixFunc. Also creating a couple of new functions that allow us to defaultConstruct and copyConstruct matrices of any type