IIT Madras develops algorithm to protect air traffic control, power distribution from attacks