Design and Implementation of a Variable Synthetic Inertia Controller for Wind Turbine Generators