Direct and indirect model based control using artificial neural networks | Synapse