Neural network feedback control withguaranteed stability