sparse matrix sign function added