refactored weighted mean keyword arguments -> **kwargs