Initialize weight with random values between -1.0 and 1.0.