Getting custom polynomial to compute non-polynomic functions.

#6