Code to verify calculated weights and bias.