Fixed coding style in bopmodel.py and phonestate.py in demo1b