Researchers develop a technique to vaccinate algorithms against adversarial attacks