Added documentation. Fixed a problem in the definition of StatisticalValueType