Wrote the Linear solver. Plotting is still a pain. Working on it