renamed Updates to InPlaceUpdates, added CopyUpdates Implemented CopyUpdates for Matrix.
divide by zero.
moved out scalar add/mul/div operations to Updates. Defined two versions: inplace and copy. rewrote some code.
Gram matrix computation simple
complete implementation of covariance matrix.