Code Rewrite

Created new MultiGraph class. Altered parameters, and tidied up lots.
Rewrote UI.