included the output of flagField to the .vtk file for debugging
included some debugging code
latest version, arbitrary geometries still not working