An Accurate Approach for Automatic Segmentation of Power Distribution Voltage Waveforms