added edge variables to main Caustic() class