Updates to matrix ops