Missing base_. when begun mode is on

Small change adding base._average in line 329
Merge pull request #25 from MarcconiLab/debug_on

Missing base_. when begun mode is on