created a dc_reg_test2 to test regularization for distortion correction