write out vtk and matlab

transpose issues!!!