added auxiliary functions, basic output true

fully implemented basic neural network, update to allow more precision
perhaps via the function