In stats.rs port [T] to Vec<T>

It seemed to me, that [T] was deprecated and i am trying to help.