adding DWeight.h
changes to DWeight.