Changed fitWF to a templated method.
Major work on imagTEvol method, mainly in the DerivMPS part. Reimplemented DerivMPS to orthogonalize much more reliably. Tested successfully on the 100 site Heisenberg model for an imaginary time evolution up to 1.0J; worked well as long as the time step was below 0.05.