Make tinyDG consistent with book
Make tinyDG consistent with book

ksamdev/algorithms_old,skhal/algorithms_old,skhal/algorithms_old,ksamdev/algorithms_old,ksamdev/algorithms_old,skhal/algorithms_old,ksamdev/algorithms_old,skhal/algorithms_old