Separated commonHeader.factors into commonHeader.factors (a float array) and commonHeader.factorsComment (a string) in both the IDL and Matlab functions.
Added commenting to the matlab function that was omitted from the last commit.