Fixes to plot funtion from MAH

TGC code still not working, fix line 610-?