Returns the distance in two points
Obtains the angle with 2 points
Change code order