Neural network lib