Fault Identification and RUL Prediction in Bearings