Updated to cachematrix for Coursera R Programming course