Optimal control for discrete-time affine non-linear systems using general value iteration | Synapse