I have been stuck with the week 2 assignment, all my test cases pass while in the code and when given for grading the row echelon form and gaussian elimination functions return with 0 marks always even after I have tried to study through them alot.

There was an error grading your submission.
Details:
all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 4 and the array at index 1 has size 8

In my understanding there is an error with concatenation of sorts but I am lost with where to look other than augmented matrix function.

Row Echelon Form:
There was an error grading your submission. Details:
all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 4 and the array at index 1 has size 8

Gaussian Elimination:
There was an error grading your submission. Details:
all the input array dimensions except for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 4 and the array at index 1 has size 8