Code cleanup
Refactored Grid() method name
Moved Snap() method
Refactored variable names
Code cleanup