Some SpMat bugfixes.
Some SpMat bugfixes.


stereomatchingkiss/mlpack,stereomatchingkiss/mlpack,ranjan1990/mlpack,darcyliu/mlpack,ersanliqiao/mlpack,minhpqn/mlpack,chenmoshushi/mlpack,trungda/mlpack,lezorich/mlpack,erubboli/mlpack,trungda/mlpack,Azizou/mlpack,erubboli/mlpack,chenmoshushi/mlpack,BookChan/mlpack,minhpqn/mlpack,palashahuja/mlpack,darcyliu/mlpack,trungda/mlpack,theranger/mlpack,BookChan/mlpack,ajjl/mlpack,thirdwing/mlpack,ajjl/mlpack,lezorich/mlpack,thirdwing/mlpack,bmswgnp/mlpack,datachand/mlpack,minhpqn/mlpack,palashahuja/mlpack,theranger/mlpack,erubboli/mlpack,darcyliu/mlpack,theranger/mlpack,thirdwing/mlpack,bmswgnp/mlpack,Azizou/mlpack,datachand/mlpack,ajjl/mlpack,datachand/mlpack,lezorich/mlpack,ersanliqiao/mlpack,stereomatchingkiss/mlpack,Azizou/mlpack,palashahuja/mlpack,bmswgnp/mlpack,ersanliqiao/mlpack,chenmoshushi/mlpack,BookChan/mlpack,ranjan1990/mlpack,ranjan1990/mlpack