REST endpoint for /estimate, minor tweaks for previous commits

REST endpoint for "/estimate"
I just realized today that for best results the `f` should be cast to `double` in this expression or else the product is carried out in 32-bit arithmetic only.