Added import for warnings.
Added vtk as a requirement.