started to implement new correlator fitting routines. want to clean up the mess.
implementing new fitting
refactoring a little
introducing tlo and thi for fitting window description