Fix stupid ion fraction error

It should have been 1 - x instead of x