fix the formula for raw mean
add plots up to 10^8