[wip] KL-pce
test_covariance runs through but obviously is faulty... also needs refactoring