Weight and Bias code