Closes #15

Moves numeric checks min/max/range to equation class
Code formatting