Conversion of the neuralnet package output to the list of W matrices
getW_from_neuralnet(W)
W
List of Weight Matrices from neuralnet package
W List of Weight matrices