standardize function

center and scale each vector of a matrix