Study of SPP based two mode interference coupler and its application in all optical logic gates and tunable power splitter