Make bn.d more const correct.
Merge pull request #10 from QAston/constfix

Make bn.d more const correct.