Interim code, does not have the new angle formula yet, but this is just to see how the code looks in the final report. - John