changed weight initialization