Fixed accidental uses of .H on ndarrays, and accidental reshape on csr sparse matrix.