changed random weights initialization