Python Numpy Change Array Dimensions Matlab Tutorial For Beginners