Class constructor without specified matrix dimensions.
Class constructor for creating matrix objects without specified number of rows and columns.