Optimized Array2D, class is now functional