Corrected weighted mean