generating functions edits
d => epsilon
final edits to autodiff
generating functions update
promote autodiff