Added distance randomizer

Added a distance randomizer for security reasons.