Slight cleanup--cache variables. Graphing sample vs mean
Chart mahalanobis dist over time