Format cleanup and so on for scaling filter.
Merge pull request #300 from abellgithub/scaling

Format cleanup and so on for scaling filter.