Add profiling to covariance estimation. Prevent GetCovarianceBlock from being called before Compute or when Compute failed. Change-Id: I5c28d27a88081e230d316c5e365d3e21d6e23376