Removed squared distances.

I still can't believe I did that. This should reduce lag.