def spherical_distance
        total = 0
        @points.each_with_index do |p, i|
          total += p.spherical_distance(@points[i + 1]) if @points[i + 1]
        end