Style edits per Josef's comments; adde FactoredSPDMatrix class and decorrelate method