Replaced torch functions in favor of a significantly smaller final build. Also exposed the calibration deadzone.