We could instead use the forward first difference - this isn't available for the last observation (for which we can't compute a second central anyway) but is available for the first observation - and increment the answer, much as Jim proposes decrementing it when using the backward layer. But seeing as we can't use the first observation we've gained nothing anyway! So we'll do Jim's method verbatim.
{{Colored box|title=DefinitionSpecification|content=For layer <math>l</math>, I will compute the concavity as -1 times the backward first difference from layer l+1 divided by the central second difference from l.}}
===Version 3.5 build notes===