Changed Jacobian signs to have generated power with positive values and consumed power with negative values