Nice work!Hope you can track down and solve the issue noted by CrazyEye.
well, but at least KDS' image shows results that are pretty close to what my Excel sheet gives (using the latest updated version without ft, st and ex). So if there is a bug (not sure there is one), it is likely in the formulas, not in KDS's tool. 10% up or down is within the usual error margin of the formulas anyway.