Small Metric Performance Improvements

Small performance improvements to the metric comparison (around the out degree fraction computation)