added default for neurons in constructor
removed traindata from factory: can't require by that package name
corrected off-by-one bug
doesn't yet work :-/