Updates

ERG functions updated. New ERG analysis with pandas.