some comments in cahematrix.R