- improved analytic solution using fft and shift-theorem
- other minor changes