added function that would make a new 2 d array of all the points