Comment call to test-convert
Move logic to calc digits out of coord2ref to coord2digits

Allow the number of figures in the grid ref to be passed to
coord2digits.