* Portals now use boundary variable instead of vector
+ Added more detailed comments