finished scale function
use scale
Merge pull request #1 from cwitty1919/master

finished scale function