Find points of inflection (#541)