Fix offset terms in netdx

Fixes #164