Update factor.py

Fixed capital letter.
Merge pull request #1 from benjaminporter/master

Update factor.py