it now uses shared pointers to the underlying twophase material law parameter objects and it can be used with hysteresis.