Basics of two port network