Added correlation function and orthogonalization to class. Eigenmatrices are still separate.