added multiprocessing to fitting, spawns subprocess workers for record length blocks