Fixes for details of the hobby module.

* normalize angles
* return a tension of Infinity when a magnitude is 0
* fix behavior of the tension2control functions when tensions are undefined
* ensure _magnitude2tension returns Infinity when magnitudes are 0