refs #7709. Update tests, and fix algorithm.

Tests updated. Minor changes required to algorithm as a result of problems found during testing. More tests to come.
refs #7709. Tests and fixes for manual scaling.

Get manual scaling factor aspects of the algorithm working.
refs #7709 sanity check inputs.

Unit tests have been added for this too.