Added the option to specify the order of the derivative to polyder.