FEM-based training of artificial neural networks for modular soft robots | Synapse