Adds non-const getter for params eigen vector.
Fixes ceres templating issure.