Parameter Estimation, Optimal Control and Optimal Design in Stochastic Neural Models