Bit of a major rewrite. Added formula interface, convergence testing and support for different optimisation algorithms. Documentation needs to be updated, but all the examples and demo work.

Downloads in the usual place.