Minor bugfixes (paths, dimensions)
Modifying parameters of modelInit() and modelTrain()
Result of major testing and bugfixing

- but still at 98% not bug-free
Merge remote-tracking branch 'origin/master'