Added more matrix utils