Pl2 optimization

Optimizing the PL2 weighting scheme.