Fixed typo toCSR -> tocsr