def binomial_coefficient(k)
	    (0...k).inject(1) {|m,i| (m * (degree - i)) / (i + 1) }
	end
def binomial_coefficient(k)
	    (0...k).inject(1) {|m,i| (m * (degree - i)) / (i + 1) }
	end
http://en.wikipedia.org/wiki/Binomial_coefficient
 http://rosettacode.org/wiki/Evaluate_binomial_coefficients#Ruby