This is why the profile was reversing on the left half. I used the convention that zero should be the stationary point, which seemed most intuitive to me.