diff objective function
more specific, typos
bugfix