Reworked to generate sparse Ws and trig-based functional sigs