Small Neural Network classes in java.