Update lineshapes

Rewrite elastic and compton peaks and update test files.
line 310 and 318-322 are indented by one extra space