HDG fully working, added trace plot function, and some notes on the hdg method