Add "project" operation to graph

Implementation for a "project" function, issue #39. Will be used in the filter primitive.