Gaussian elimination

Gaussian elimination with choosing column pivot element method.
There are two function corresponding to different matrix structure.