fix to round objective value correctly

fixes #1
Merge branch 'master' into maxsat2013