Fix several bugs in DoB method and improve overall code quality
Merge pull request #4 from ahojnnes/censure

Fix several bugs in DoB method and improve overall code quality