biased correction now works
trying to fix motion correction
debuging optimizer