This is even better. If I could minimize the jumps around Y = 0.5 to -0.5 It'll be exactly what I'm looking for... or a start at least.
Do you see what I mean now? See how the amount of quantization changes with Y and a minimum quantization value?
I think I'm getting towards the answer now...