Text this: Advancing Predictive Maintenance: Median-Based Particle Filtering in MOSFET Prognostics