Bug fixes for simple impact parameter
What I had before here was complete nonsense: I was confusing coordinates relative to the beamspot with coordinates relative to the detector center. Thanks to Jonathan for pointing me to a thread where he asked about something similar.
Edited by Dan Guest