Rewrite of leverage scores section