Implement ff_scale_vector_to_given_sum_of_squares()