fixed devious bug in correlation reduced loss function. final tests of equivalence of v11 and v13 passed without error