Added assert functions to test for 2-dimensionality, equal column lengths, and if each sub-element is a number (float or int)