add basic stat functions so I can get a zscore to find cluster centers