fix bug in getCovMatrix