BUGS: Found bugs in the following places

bellman.main
inner_opt.check_grad
compeconpy.funeval2

It should be working now, but I haven't checked yet.

Signed-off-by: Spencer Lyon <spencerlyon2@gmail.com>