added new addPoint method which allows you to add a single point to the points array without swapping the whole thing