added writeVTKall function