Adds calibration and non-linear least squares estimation.

I updated Android Studio and it upgraded my gradle version to 0.9.  It shouldn't be breaking, just requires a recompile.