     initial_x = get_initial_x(n)
     computed_x = compute_coordinates(n, latencies, initial_x, 0.05, 200, 0)
 
-    computed_x = Enum.map(0..(n-1), fn i -> computed_x[i] end)
-    computed_latencies = get_latency_matrix(computed_x)
-    {computed_x, computed_latencies}
+    computed_x_list = Enum.map(0..(n-1), fn i -> computed_x[i] end)
+    computed_latencies = get_latency_matrix(computed_x_list)
+    {computed_x_list, computed_latencies}
 
   end
 


  alias Vivaldi.Simulation.Vector

  def run(n) do
    points = create_coordinate_cluster(n, type: :circular, radius: n)
    latencies = get_latency_matrix(points)

  end

  def compute_coordinates(n, latencies, x, t, max_iterations, iteration) do

    # Print Total Error
    x_list = Enum.map(0..(n-1), fn i -> x[i] end)
    computed_latencies = get_latency_matrix(x_list)
    cost = compute_total_error(n, latencies, computed_latencies)
    IO.puts "Iteration: #{iteration}, Error: #{cost}"

    if iteration == max_iterations do
      x
    else
