add matrix chain multi