Support for two arguments in ndsdpvar/max
More hints in error message