Attractor grid two methods different results

I’m working on a simple curve attractor script and I’m having a small problem.

The first method I used has a nice gradient in the center of the canvas where I pulled the attractor curve up in the Z direction. However, this method lacks control. The second method gives me the control that I need, but isn’t giving me the fineness of the first. It seems as though #2 isn’t taking the distance off the canvas into consideration when pulling points. Does anyone have any idea why this is?

curve (21.5 KB)

“Flattening” the both “N” inputs of Bounds should fix the problem…

curve (27.8 KB)