Matlab Store Values From Loop Into Array