added Plane class and computing AABB