Fix for range proportionality.
Linear regression still broken...