Latest work from dgi

This pull request is related to work dgi has done over the past month, a document with more detail will be sent along shortly.