Calculator: minor cleanups.

- Make ln alias more like others.
- Put named constants in a hash and generate the substitution list
  therefrom.
- Update test and comment text slightly for accuracy.

I had fixed a number of different problems iteratively and didn't
recognize that these changes were viable until now.