Fixed broken spots in MatFile and VTK