Adding more functions in Matrix interface