repair of aabb and sphere collision

based on realtime collision detection book page 131