reflection table now shows d0, d, two_theta_0 and two_theta

did several refactorings to make this change easier