try to modify preview gui
extracted activation function from NN
extracted activation function from NN
added another GUI, java and scala version