edit cashematrix.R and README.md