Matlab Aggregate. I want to aggregate columns in matrix A based on values in a vector