clean up reminants of read.mirt
add MASS to imports