Derivatives errors corrected