fixed errors caught by pylint
fixed a ton of bugs. now working. tested on evidence_accum