Add csv exportation and add necessary attribute to BEESFit