Matfiletools

added some stuff