clamps function

Rescale all columns of a matrix