Source code for image registration using robust least squares.