Made all demos executable.
Added parameteric non-linearity.
Merge branch 'devel' of https://github.com/andreirusu/nnetdemo into devel