added Mat class