DifferenceEngine minor fixes

* Function docs
* Remove useless variable assignment

Change-Id: I292e1391e0c24399b2c203b9f7fe7c58df089ad0
Merge "DifferenceEngine minor fixes"