Biologically Inspired Modular Neural Networks