Added a bit of debug in sigmoid
Resolved conflict...
Merge branch 'firstmerged' of https://github.com/wsheppard/ecd2012 into firstmerged
Added debug.