Wave theory of aberrations