rescale function

Scales a point cloud (3D)