Text this: Local polynomial approximation and intersection of confidence intervals for removing noise of lightning electric field measurements