photometry Photometric transformation functions and fitting Code transferred from old gbtools repository, cleaned up and working with Eigen as well as TMV.