Fixed standard scale function - other scalers seem to work ok