Class can now support beyond 2D arrays
Removed set() and validRef() functions; hardly necessary.