Added VTK output function