Fixed a bug where I wasn't passing the "factor" argument.
Workflow comments at top of file.