Python Numpy Change Array Dimensions Matlab Simulink Tutorial