Changed 1/dt to 1./dt.