Started the implementation of the forward mode AD code gen, incomplete