nonlinear matching -> affine matching reduction howto