Fix a few bugs in average.py, import normalisation functions from helper.py.