add point-based mean calculation for a wave