Added Numerical Derivation Function

Added the function "max_derivative.m". This function uses a centered,
finite-divided numerical derivation equation to approximate the
derivative for raw data. When this method is not possible, the function
switches to a simpler derivation formula.