minor update in C analytic code to have less x points