spmatrix

--fix mem leak
--add transpose
some dumb crap