Fixed model drawer
Removed unused math classes.