Fixed a - sign error in firstderivatives w/ rodriques.