Numpy Loop Through Array Matlab Simulink Project