Added more matrix and vector operations