For Loop Iterate Through Array Matlab