Systematic derivation of angular-averaged Ewald potential. (23rd September 2022)