Adding compute_vector_lengths.rb