Text this: A Noise Reduction Algorithm for White Noise and Periodic Narrowband Interference Noise in Partial Discharge Signals