Simplified weights_load (lots of checks were unnecessary after mandating
node and weight names) and fixed a bug in handling of custom spread;
example/network now works correctly