Added support for polyhedral regions.

I hope this compiles :)