Mathematically correct calculation of direction and distance in navigation 

I added some mathematical and trigonometrical bullshit that makes the navigation possible, by options you can set the mathematical definition for up, down, left and right, using arrays with an angle range expressed in radiants (computer default). Test the plugin, you'll see how nice it works. First time working with github. I had problems pushing to the develop branch, so i made the default push and it went to master. try to do something there. The mathematical definitions of directions are defined in options, as i said so id you weant to change it your free to doit, but i dont recommend it to you if you dnt remember angles in radiants. Por cierto soy dominicano asi que cualquier cosa nos comunuicamos en español.