Reorder buildSieve args to improve speed.
Some variable naming / cleanup.
Reorder buildFactors arguments.
Reorder primeFactors arguments, more cleanup.
More cleanup.