Changed memory management to (somewhat) speed up loading of large datasets; mostly in boundingBox().
Merge pull request #3 from ctessum/master

Changed memory management to speed up loading of large datasets.