First version of the resilience indicator calculator. Still alpha.