Added a few function definitions
Merge branch 'master' of https://github.com/PyroIgnus/DANN
synaptic learning!