sparse_sqrt function

Calculate sqrt of sparse vectors