added a command for matrices