Minor refactoring.

Made some changes to the Solver class hierarchy and removed Domain
object field from ODESolver as the domain of the potential can be used
instead.

Removed the Parameters class, the WellParameters class has all the
necessary functionality already.