hsgp_rescale function

Rescales data to [-1,1]