Add test for possible unwanted resize
Avoid unwanted resize of covariance
Merge pull request #22 from jucor/unwantedResize

Fix: avoid unwanted resize of covariance