Add NetAdapter to simplify conversions to/from double[].