Adjusted the weight initialization