matrix cache update to ProgrammingAssignment2
Merge branch 'master' of https://github.com/lgallen/ProgrammingAssignment2