def solve_equivalent_fractions
      last = 0
      array = Array.new
      @reduced_row_echelon_form.each do |x|
         array = last.gcdlcm(x.last.denominator)
         last = x.last.denominator
      end
      array.max
    end
def solve_equivalent_fractions
      last = 0
      array = Array.new
      @reduced_row_echelon_form.each do |x|
         array = last.gcdlcm(x.last.denominator)
         last = x.last.denominator
      end
      array.max
    end
from the reduced row echelon form we are left with a set
 of equivalent fractions to transform into a whole number
 we do this by using the gcdlcm method