First run at cached matrix homework.