Implemented generalized second derivative, seems to work, implemented at PropsSI level too

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>