Implement curves filter and supporting bezier/hermite functions