Changed sign to switch minimization problem to maximization problem
Merge pull request #15 from michalr/8

Changed sign to switch minimization problem to maximization problem