drift_dm function

Create a drift_dm object