Prints the weights after learning