Increased Classiness by 1548%

I classed it up. Also I modified the function parsing a bit to let users input either sin(x) or Sin(x).