Added two functions with docs to set/get all the network weights

Hi,

I am writing a wrapper to this library using for the Julia language. I needed a couple of extra functions to get and set all the network weights. This pull request fixes my issue. 

Let me know if I can improve it.

Davide