Added in the hooks from the REPL to core FHE functions. Still buggy with nested functions more than two deep, will fix in the morning. Cleaned up the file tracking a bit.