Check for duplicates

* Initialize p_ when it's created
* Remove duplicates if there are any when using `from_coo` method
* Check for nnz overflow