cachematrix comments update

Updated comments with general statement for program and for each
function.  Corrected spelling errors.