This fixes #7790.  It currently uses a lookup table because the calculations using the given formula were low by 1/3.  I don't know why yet.  We will start with the lookup table and go to the formula if we need more accuracy.
Merge branch 'master' of github.com:hugllc/HUGnetLib