fixes for DG and orthonormalpolynomialset basis functions
fix compilation
Merge branch 'feature/dg' into develop