New version for cachematrix.R  v1