Minor correction in derivate formulas