Unstable

Merging negative x-values and median/mean lines experiment in.