Common Difference Calculator