internals function

Internal functions and methods for the maxstable package.