Added C++ example to docs

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Added derivative for fundamental derivative of thermodynamics

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