Move "get_weighted_mean" to BaseClass instead of separate module.
Move get_weighted_mean from separate module to BaseModel.