You are welcome. I converted to Python as I was going to generate a SH5 Almanac (very few people are concerned with Navigation from 1939 - 1945...can't think why).
Anyhow. I found this gives a good description of Cel Nav, and how you use SHA and LHA.
http://www.dacust.com/navigation/pdf...lNavigator.pdf
It is a time since I tried this in SH5 (and the results were not good - but that could have been my lousy sun shots). At present I am stalking a Merchant ship off the coast of the UK, so not going to be getting into this in the short-term. If I do, I'll try and help as much as possible.