working on replicating Wheeler's GWL and GWRR