bitmasked frustum testing, also added sphere test