Resilience: Measures and Models