refactored code for feed forward and back prop, seems to workgit add .git add .git add .