Support for matrix rhs