Made code independent from psfortran

Moved moving_avg() function to psutil, using strides trick to make it reasonably fast.
The fortran version is still faster, but without psfortran the code is more portable as it does not require an additional compilation step based on f2py.