Added a five point differential for 2d and changed som defintions for
the code to compile with g++.