Collision risk calculation