added functions to read and fit ffp8 stats