adding plot functions and power contribution computations