Correct form is "Рассчитай расстояния".
The following sounds better to me "Вычисли расстояния".