Some fixes to Laplacian score