Minor fix in Population Builder
Removing the use of reflection in MetricFactory
Turning MetricFactory into a static factory method