Delta Weight (Dt) calculation function

moved location to /demos/