changed the way the function to put points in all_points works, uses accesor functions now