bounding box/sphere issues solved

now the computations are in the right place