Forgot to add first x-axis midpoint to xpoints array
Test line to check that xpoints is working as intended