Add some sage patches I wrote for solving linear systems mod n.