stochastic_graph() bug, need to force float