Sine Wave Brick Wall

Is there a way to lessen the ‘fading threshold’ of the sine wave? The number of edges I need to fade to zero has increased and the wave almost entirely vanishes in some areas. I’ve attached a diagram showing the intent/issues. 1612_Living-Sine Wave Wall_2019.03.20.3dm (435.5 KB)
1612_Sine Wave Wall_2019.03.20.gh (229.4 KB)

I only had a very quick look, but maybe this could help you.

1612_Sine Wave Wall_2019.03.20_V2.gh (230.6 KB)

Yes, this is exactly what I was looking for thank you!