LDU solver rewritten & added a test for it which passes