Sri Lankan officials are taking a new approach to keeping elephants safe from high-speed locomotives.