Add ElementBase.points to constructor and cache bounding boxes

Since points is a member variable of ElementBase it should be
created in the constructor.

This allows caching the bounding box for elementary objects
as well.