Change lacosmic function parameters for NDData decorator
Oops, forgot to remove expand_nddata_args decorator after testing