Added ability to unscale data