Squashed some bugs

Pretty much just that. Contains a bunch of bug fixes, including that of
a cosine function that used to evaluate to a cotangent function.
Additionally, the app now tells the user whether their input was correct
or incorrect immediately after they submit their answer.