For Loop In A For Loop Matlab