Remove some unused code, fix typo so BD works

dpxdt didn't work when I wrote this!