Fixing issue #26
- Handling duplicate variables in the left hand of an intended equation
- Adding tests