First version of cachematrix.R. Appears to be working.