Merge pull request #324 from jabooth/diffstaged2

Adds DX, DL, DP, along with documentation.
Merge remote-tracking branch 'upstream/master' into dpfit