C++ Arduino library for calibrating sensors hooked to analog inputs