Added normalization to functions that are not evenly sampled.

Eigenfunctions don’t seem to normalize quite correctly for wave numbers other than zero. Not sure what I’m doing wrong.