Added cal_avg.py to the dataanalysis package.
The module is very much incomplete and many functions needs to be added.
The module can be run from the top layer folder as a script using the -m option.