Mosfet Switching Loss Calculation