Don't hardcode the number of torque values

Instead use a common, immutable integer.

Note: If this doesn't compile using the Arudino IDE,
we should replace the 'const int' with a #define.