Adding missing part_deriv.cpp from last commit.