fix bug in encircled energy preventing calculation for non-integer radii