code to verify results with Vtk seperated to a diffrent method