Added argument metric_kwargs