Change the x storage to be an std::vector.
Allow the user to specify arbitrary, ordered sets of x values.