Modified the .psp file to return averages over iterations excluding nans.