Completed updates to cachematix.R file