Single-phase matrix converter for active power filter applications