reordered parameters to allow for a superclass. 2d and 3d have different numbers of parameters, so ordered them so they could be input as an int… array