Graph functions working, data standardisation, style, docstrings, etc still to do.