gvar.raniter/bootstrap_iter now work with scalar arguments
improved error messages for exceptions inside fit functions