Derivative For Rocket Function Code Matlab