Added new .py file for averaging h5data so that there is one row per freqency