[UPDATE] add wmean and csum.