added removeConstantFactors
Merge pull request #51 from dominikkirchhoff/master

added removeConstantFactors