fixing regularization; adding population aggregation methods in CosinePopulation