Got both Polynomials working introduced graphics bug

I was trying to restructure things by assignment and make things laid
out more logically. Right now I have lots of commented out code though.
Got NLI and Bernstein polynomial drawing correctly though.