Tried to implement the jacobi method. Didn't work but there is a test
algorithm implemented now. Albeit dirty code.