Remove .gv files and add equivalent .mat files.