FUNCTION FOR VALUES AND DERIVATIVES INPUT AND OUTPUT NOT SCALED
FUNCTION FOR VALUES INPUT AND OUTPUT NOT SCALED