Modifed daomatch.pro to estimate the rotation with linear fits.  MPFIT was sometimes not fitting the transformation parameters when I input xmed, ymed, 1.0, 0.0, 0.0, 1.0, but it did when I put in a little bit of rotation.  Now it seems to be working.
Modifed daomatch.pro to estimate the rotation with linear fits.  MPFIT
was sometimes not fitting the transformation parameters when I input
xmed, ymed, 1.0, 0.0, 0.0, 1.0, but it did when I put in a little bit
of rotation.  Now it seems to be working.

dnidever/PHOTRED,dnidever/PHOTRED