Damage Diagnosis Algorithms for Wireless Structural Health Monitoring