Python Numpy Change Array Dimensions Matlab Simulink Student Version