Modify single proportion test functions (by @christaa)

Merged by hand because of messy fork issues…
Expanded linear regression interpretation function (by @christaa)

Also fixed a few bugs from the last couple of commits

(Done manually because of messy fork issues)