Removing checkmodels script.
fix dumpmat script