Fix numpy floating point error in mpfit and reflected beam position
detection