Code refactoring and add comments to Impedance Transform project.