- determine the candidate points to be inflection points
- use the function evalclusters to cluster these points and (most importantly) determine the optimal number of clusters.
- find NZ = set of non-zero points
- for each point P in NZ, determine if it can be considered an inflexion point. If yes, add it to the set of candidates to be inflexion points.

