Waves All the Way DownHow a transformer learns to compute modular addition, and what it reveals about generalization