A simple method to derive bounds on the size and to train multilayer neural networks | Synapse