Fixed incorrect way of getting multidimensional array size
Fixed incorrect way of getting multidimensional array size