Fix ComputePerpendicularDistance convinience function
Fix ComputePerpendicularDistance convinience function

This function is used by StaticRTree and returns wrong results.
The other variation is correct. To reduce code duplication
the correct version is used instead, as the implementation is nearly
identical.

prembasumatary/osrm-backend,hydrays/osrm-backend,alex85k/Project-OSRM,ammeurer/osrm-backend,agruss/osrm-backend,deniskoronchik/osrm-backend,bjtaylor1/osrm-backend,neilbu/osrm-backend,raymond0/osrm-backend,Project-OSRM/osrm-backend,oxidase/osrm-backend,chaupow/osrm-backend,atsuyim/osrm-backend,Project-OSRM/osrm-backend,raymond0/osrm-backend,tkhaxton/osrm-backend,felixguendling/osrm-backend,Project-OSRM/osrm-backend,deniskoronchik/osrm-backend,agruss/osrm-backend,felixguendling/osrm-backend,yuryleb/osrm-backend,Tristramg/osrm-backend,hydrays/osrm-backend,frodrigo/osrm-backend,atsuyim/osrm-backend,antoinegiret/osrm-geovelo,arnekaiser/osrm-backend,atsuyim/osrm-backend,KnockSoftware/osrm-backend,deniskoronchik/osrm-backend,tkhaxton/osrm-backend,nagyistoce/osrm-backend,frodrigo/osrm-backend,duizendnegen/osrm-backend,beemogmbh/osrm-backend,raymond0/osrm-backend,chaupow/osrm-backend,yuryleb/osrm-backend,Conggge/osrm-backend,neilbu/osrm-backend,ammeurer/osrm-backend,Conggge/osrm-backend,duizendnegen/osrm-backend,oxidase/osrm-backend,frodrigo/osrm-backend,beemogmbh/osrm-backend,bitsteller/osrm-backend,ammeurer/osrm-backend,bjtaylor1/osrm-backend,ammeurer/osrm-backend,ammeurer/osrm-backend,bitsteller/osrm-backend,chaupow/osrm-backend,bjtaylor1/osrm-backend,KnockSoftware/osrm-backend,skyborla/osrm-backend,KnockSoftware/osrm-backend,alex85k/Project-OSRM,raymond0/osrm-backend,alex85k/Project-OSRM,neilbu/osrm-backend,deniskoronchik/osrm-backend,ramyaragupathy/osrm-backend,prembasumatary/osrm-backend,skyborla/osrm-backend,beemogmbh/osrm-backend,Tristramg/osrm-backend,agruss/osrm-backend,nagyistoce/osrm-backend,antoinegiret/osrm-geovelo,ammeurer/osrm-backend,nagyistoce/osrm-backend,bitsteller/osrm-backend,arnekaiser/osrm-backend,duizendnegen/osrm-backend,hydrays/osrm-backend,bjtaylor1/osrm-backend,frodrigo/osrm-backend,Project-OSRM/osrm-backend,ramyaragupathy/osrm-backend,beemogmbh/osrm-backend,yuryleb/osrm-backend,antoinegiret/osrm-geovelo,arnekaiser/osrm-backend,prembasumatary/osrm-backend,ramyaragupathy/osrm-backend,jpizarrom/osrm-backend,arnekaiser/osrm-backend,neilbu/osrm-backend,Tristramg/osrm-backend,tkhaxton/osrm-backend,yuryleb/osrm-backend,jpizarrom/osrm-backend,jpizarrom/osrm-backend,hydrays/osrm-backend,Conggge/osrm-backend,skyborla/osrm-backend,duizendnegen/osrm-backend,KnockSoftware/osrm-backend,felixguendling/osrm-backend,Conggge/osrm-backend,oxidase/osrm-backend,ammeurer/osrm-backend,oxidase/osrm-backend