Created a frustrum function and 3Dcontext module.