Refactored Z-score calculations to be separate from the Alternative Class.