Fixed variable resolution to see features properly
Changed header info
Added investigation routine
Renamed tanb and some additional printing in the main program