fix some mistakes in matfileReader.cpp