wmean(): more cleaning up internal functions & roxygen documentation