cachematrix v

Updated with code and new descriptions