make diymcmc work with Py3K

A few import fixes