Add weighted arithmetic mean function to experimental package.