Protection algorithms using fault resilient fish swarming behaviour