Using state tomography for characterizing input principal modes in optically scattering medium