Fix segfaults in 2D with this physics
Merge pull request #9 from grinsfem/2d_bugfix

Fix segfaults in 2D with this physics