cascade PC_calc function to GUI
looks working...