Text this: Analysis of the Charge Transfer in CCDS Including the Effect of Surface States and a Varying Fringing Field