Added preliminary support to detect the position within the canvas a touch is made.
Completed grid detection calculations.