Encapsulate vector statistics in structs