Fix misfit formula. do - d, not +