Performance Evaluation of Multifunctional Energy Metering IC under Sinusoidal and Non-Sinusoidal Conditions