program to measure flexure in fiber flat images