ctTest now works.  Coordinates of detectors and pixels in all codes have been made consistent.