Bates Testbed improvements (see details)

Improved potentiometer degree calculation.
Added accelerometer.
Added optical encoder.

Used some `double` variables to make code look nicer (There's no longer
10,000 calculations within a `SmartDashboard::PutNumber()` call.