Memory Pool

Implemented a simple, allocation-only, dynamic memory pool. Pool is destroied inside bvh's destructor.