Added cachegrind output files to gitignore
Using temp variable to hold rows of matrix