added a linear scaling function that takes the current position of a surface/view, and the lower bound and upper bound of the section to be scaled
Merge pull request #29 from gregorylull/scalingFactor

added a linear scaling function that takes the current position of a sur...