started to implement new correlator fitting routines. want to clean up the mess.