Revert "Make sqrtm work for vectors"

This reverts commit 87e36bc6ad137dee55a7a07f9b5703bda8fa7b0f.