Improved the arguments handling in some functions in baseline.R. For this, added three hidden functions.

Added global option excessvartype