CLN: Fix PEP8 warnings in linear_model

Ran autopep8 on each file in the folder, then fixed remaining warnings manually. Tests still pass locally.

Fixes for bayes.py were not added because of technical issues on my side.