flex_points function

Voice-leading inflection points