Multivariate resolution of flattened absorption spectra with weighted least squares; weight selection and rotational ambiguity