Python Numpy Change Array Dimensions Matlab Download