When normalizing points, the distance to compute is the average RMS distance, not regular distance. Also, removing unnecessary clear on a vector.

Change-Id: I5d023c9089613ed3bd20fa87eab47391613a9a52
Merge "When normalizing points, the distance to compute is the average RMS distance, not regular distance. Also, removing unnecessary clear on a vector."