important change : now Diagnostics , STD and AVERAGE are calculated not for the entire period but for the first 10 years as was done by Anton