added 'write_vtk' method to device + some debugging

write_vtk(filename) allows to write the raw mesh to PVD/VTU files

debugging related to examining SingleGate simulation problems.
-> turns out, that the input PVD/VTU files are faulty