Fast procedures for accurate parameter estimation of sine-waves affected by noise and harmonic distortion