write file using buffer

__init__.py to initialize package variables

prepareData
     BAT, TBAT, update
     per is the percentage of update

update experiment in a roll in exp_update/exp_updateData.py

problem:
      the overhead is decreasing...