Fix gun range calculations (#20)

Scalars weren't being squared when compared
against squared distances