make parameter optional
node.data now holds the complete gate_parameters with defaults. nodenet.data only holds the ones different from the defaults.

also, add a test for this