random initialization of node weights now working