added a lightweight least squares optimizer 

Levenberg-Marquard optimizer for nonlinear least squares problems
Can be useful for calibration of kinematic models