Fixed so power output calculations does not accept a negative resistance.