Output calculation, simple training, network instantiation