add matrix and operation