refactor calibration algorithm
work-in-progress code for setting up periodic timer event
force unreferenced objects from libmaple.a to be instantiated
implement timer-driven sampling and collision detection