Rail Defect Detection Using Accelerometers