More workup of coordinate transforms.
Changes to scancalb.h