Changed numeric derivative to accuracy 4 central finite difference.