Fix bug with non flatten dats. Only extrusion fixes left
Add support for openmp (works for helmholtz)