Update Ceres Solver to latest stable version

Closes #1487.