matrices notes