Added basic matrix operations