rewrite train-net and fix mistyped values in test data points