Added functions in numpy to calculate the arithmetic and weighted average, the median and the standard deviation of the values