Fix x/y/weight list in range calculation
Merge pull request #1 from BrianEnigma/master

Fix x/y/weight list in range calculation