Gravar-mail: Multifunctional Voltage Source Inverter for Renewable Energy Integration and Power Quality Conditioning