Single Phase Power Factor Calculation