Add minimal stats for timeseries (mean and stdev)

Add also max and min

Edited by Andrea Monterubbiano