Modified "cachematrix" function: corrected typo and added: source("cachematrix.R")