Make echelon_form a function rather than a method.