update covariances only if a new pointcloud was set

this avoids unnecessary recalculations if only one of the pointclouds has been changed
Merge pull request #277 from 5irius/master

update covariances only if a new pointcloud was set