add matrixchain solution.