tidy up code for consistency
testing funcionality of new functions
fix an issue with GLMs defined with count/total ~ x
testing new functionality
remove scripts accidentally added to repo