Added sqrt decomposition