Fixed indexing errors in Constraints, exception when no solution found.
Merge pull request #34 from niode/nathan

Fixed indexing errors in Constraints, exception when no solution found.