Fixed a bug where loading wikipedia data would not work. Fixed some performance issues with spatial queries on large, sparse grids. General bug fixes. Confirmed working up to grid probability calculations.