polar decomposition error