Updated to run with VTK 6