Fixed Relative Angle Calculations, Added two variables

This SHOULD fix any complaints about the docking angles being miscalculated.  

I also answered the comment question about what's up with the relative distance directions.

And I created two new variables that I needed to finish a docking alignment indicator:
TARGETDISTANCESCALEDX and TARGETDISTANCESCALEDY   .  These are the X and Y distances, scaled and clamped so that they always return a value between -100 and 100, and the precision increases as the distance decreases.  These numbers can be used to drive a docking port alignment gauge.  

In case it's not clear what I was trying to do, I shot a quick youtube video of all these changes thrown into a docking gauge.  It works just like NavyFish's DPAI, which is shown at the side of the screen for reference.  I did it all with JSIVariableAnimator, because I haven't wrapped my head around how to do the graphics part of drawing a background handler yet.  But you can see how the changes I've made to the rotation and velocity variables work.  It's at  - https://www.youtube.com/watch?v=EC7wNfY8AOc&feature=youtu.be

Also, I figured out how to merge the master back into my fork, so this replaces my last pull request... that was trying to remerge things that were already merged.

If you guys would prefer me to stop fiddling with your code, I understand!  I hope I'm being helpful!
Ah!  Sorry about that.  I'll get right on it!  :)