Updates to curves to remove points just before first peak