Added result plotting, fixed bug in SoG code, added normalizing to neural net code, which makes it much better.