update covariances only if a new pointcloud was set

this avoids unnecessary recalculations if only one of the pointclouds has been changed