fix zscore calculation for mta