First MTabixMatrix implementation. Added a cache at IMatrix and IMatrixLayer