The icon was the easy bit..
The problem is that my reference naval code is not behaving according to the reference data also provided, here are the azimuth tests:
r = 195.804958, exp=195.804944
r = 295.289129, exp=295.289028
r = 84.686484, exp=85.619611
r = 195.804958, exp=195.804583
r = 300.771008, exp=295.288472
r = 85.619687, exp=85.620083
And the document, bit at the back...
http://www.dtic.mil/cgi-bin/GetTRDoc?AD=AD703541&Location=U2&doc=GetTRDoc.pdf you've got to love the fact that the code is August 1968.. that's 5 years older than me!
This could be down to many things (part of my degree is numberical computation). I'll accept accuracy to two decimal places but look at #3 and #5 are the major concerns.