Fixed bug (dr=(0,0,0) was forgotten...)