/* affprojNR.c - subroutine for fitting affine and projective transforms * using numerical recipes in C routines for solving a set of linear equations. * Some care is taken to generate a well-conditioned set of equations.