fix duality gap calculation
rename p and k into iteration
add tests for frank wolfe pickling and batch version.
fix:  make test easier so that we can use qpbo