corrected simple error in fractional ion calculation