comment wasn't consistent with code
now creates matrices that can actually be factored without encountering a zero
reverting
week 5 first commit