A Tennessee professor is building tech that detects floods, with rural communities like Waverly in mind