Update output format
-
when Fa is null
- include fa_error with message
- ensure sms, sds, sdcs are null
-
when Fv is null
- include fv_error with message
- ensure sm1, sd1, sdc1 are null
-
When either Fa or Fv is null
- ensure sdc, sdSpectrum, smSpectrum are null