Remove MAT

Fix #497 
Close #492

feelsgoodman.jpg