computing velocity and distance between 'brothers' like a boss