Fixed small bug in mpfit.
Fixed bug in reference vector unary operator -.
Added format::item().
Moved template_fit into its own header, implemented upper limits.