Optimization Framework for Stochastic Modeling of Annual Streamflows