Initial commit for QUADcore v2.0

The MAT module is being redesigned for performance gain...