some intersection test and shape refactoring, added OBB tests