WIP: Compile

Implements `Compile`, a method to compile expressions.

This could be used to optimise plotting functions.