Using squared hypot  to optimize some comparisions

Change-Id: Ia5b99c2e60eedf02dea26857819f0e13127db4e2
6 files changed