Implements correction factor based calibration.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>
Bug fix for storing data points in database.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>