Old variable name used; fixed

An old name for a parameter (pre-refactoring) somehow got mixed back in.
Fixed it.
Restructured factor results

A bit more organized; also keep the common factor found (was previously
in a var called max, and so this was kept by mistake).