got the code working to find original (x,y) location of rotated triangle, need to do some additional work for arctan quadrants. A little woried about precision going from double to int