Upgraded getArray() to return 2d arrays

With row size = attribute size