added functions to make array of x&y points for 2d curves. chose better names for files.