Implemented scaling factor argument.
Written unit test for checking the scale functionality.
Written documentation for the new scaling argument.