Implement DataField.dist method

Fix #225

Signed-off-by: Byron Ruth <b@devel.io>
Am I missing something or are new lines 183-184 exact duplicates of lines 181-182? If they are duplicates, remove these new lines.