While Loop Through Array Matlab Simulink