bug fix in batch op of ps.py
bsmf.py updated
bsmf tested -> bugs(blocked, esum large)