Input Filter Design of a Mains Connected Matrix Converter