Add dark and flat fields to center_rotation_axis