Modal Analysis and Damage Detection by Fiber Bragg Grating Sensor