Bug fix: change default value of beta to 1 so that it doesn't need to be especified