added makeFactorList to mlUtils.py