fix ceres import, fixes #9

I'm not sure how to test this, but I think it is right...