Attempts at calculating back face culling

This is far from a complete commit - just commiting to allow code
sharing.