Fixed spacings

Fixed spacings for Sublime Text
points are now .x and .y instead of [1] and [2]

modified all functions that take points to take them as .x and .y
instead of [1] and [2]