added "pessimism" setting and corrected curved weighting application
added "pessimism" setting and corrected curved weighting application

mpaulweeks/passwordmeter,jlec/passwordmeter,cadithealth/passwordmeter