sample_from_gaussian for sparse cov matrix added

- Added sample_from_gaussian for sparse covariance matrices
- Added a unit test for the same