More tidying up - largely removing some deprecated code, moving functions to group the model a bit better and adding basic docstrings. Removed ISquare concept recommended in original paper as having not not needed in the more functional implementation.