3-Phase Grid Energy Router for Use in MicroGrids and Distributed Generation