Use sympify so that caret is an acceptable exponentiation operator.
Refactor such that there is only a single drawgraph route in the backend

This involves having the client send a JSON field specifying which dimension
of plot we're trying to make and then having the app choose the appropriate
constructor.