Refactored scaling to account for negative values