Gauss Jordan elimination