added some haskell-side Frustum code