Implemented the x_N dependent form of the composition derivatives.  Mostly working but derivatives with respect to x_N DO NOT work

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