Update lineshapes

Rewrite elastic and compton peaks and update test files.