Added option direct weighting to second stage functions -- TODO:
automatic weighting for GSD