Pyramid Portals Calculator