A GaN based bidirectional switch for matrix converter applications