Wrote a matrix tutorial