converted derivative functions to SetValue to make way for setting to multi-Nh d
f vectors