New technology making drones safer and smarter