Get Index Of Max Value In Array Matlab For Loop