added get_pyramid_level() to Pyramid, which takes a kd-tree index and returns the pyramid level to which that index contributes. the goal is to be able to bias just specific levels in the pyramid