added normalized outputs, random weights
- uncommented code
added comments