Assignment done by Bob G

Completed matrix caching routine assignment with much help from Forum
notes