Fixed a broken spot in MatFile