I want to calculate the second derivative for each point (except the first and last one) in a points set. This points set has a data type of dictionary, which is like