Basics of greedy: quadratic form with Cholesky decomp.
Update the tc laplacian script :O