Change Layer.java by adding thread pool. 10 neurons per hidden layer to test. Worked.