Fixing problems with MATLAB's numerical sqrtm
Fixing problems with MATLAB's numerical sqrtm

MATLAB's matrix square root can return NaN when the matrix looks too non-Hermitian --- this is fixed here by explicitly taking the Hermitian part.
nathanieljohnston/QETLAB