Simple derivative calculator.