Datastructures for the statistics classes