Local changes to cachematrix.R to properly create funtions for Prog. Assignment 2 of R Programming on Coursera