An Algorithm, Based on the Auto-Correlation Function Evaluation, for the Separation of Partial Discharge Signals