Functions can now contain functions! Also fixed bug in Sine and Cosine getY().