Renamed cumulative weights to cumulative probabilites