Working Version!! Needed to swap lists for plotting x and y