Mechanisms For Optimal Decision Making In Small Neural Circuits /