Working calc_f_gamma version 0.1 with HDF5 file saving