Closing #120, hunted down empty lines before and after displayed equations
Closing #152, replaced ... with \dots, \ldots, or \cdots
Equation formatting, closing #151:

* got rid of all `$$`
* replaced `array` with `align` or other more appropriate environment where sensible