Updated model validation
Guard empty store exclusion
Fixed semiadditive statement: use dimension.semiadditive_function instead of mapping function.
Removed custom function support, use max() only