Use @inbounds in sparse transpose.
Refactor sparse transpose to pass a vector of rowcounts