cachematrix code complete