Implemented the conversion from vtk to mhd/zraw files using pthreads