Gauss Jordan Elimination Python