Started work on automatic differentiation