Stability Results for Neural Networks