hello ,I really like this algorithm, I want to return index of concave point in original data, What a good advice?