I mean I want to multiply a chain of matrices with less complexity, please guide me to implement it.