Merge pull request #33 from niode/nathan

Fixed crashes in Solver, Constraints.
Merge pull request #34 from niode/nathan

Fixed indexing errors in Constraints, exception when no solution found.
Test
Relocate
No idea.