Modeling olfactory processing and insights on optimal learning in constrained neural networks: learning from the anatomy of the Drosophila mushroom body.