Fixed bug on factors definition
Merge pull request #19 from agbeltran/master

Fixed bug on factors definition