fixed vtk output. works fine. still slow