Add recipe for calcuating the envelope of a geometry.  Closes issue #37