Add Cost.is_stochastic to make warning more selective

do you know how to set up vim to automatically indent correctly? I seem to have some python plugin that is automatically choosing the indentation, but whatever it's doing is not pep8 compliant.