make nPointToAverage an input parameter
add new parameter for averaging
Merge branch 'master' of github.com:irfu/irfu-matlab