Dear andybarrett1 do you managed to solve the problems with code? Do you managed to show the correct angle and degrees.
Are you willing to share your code with us?