finally solved the reference frame issue. now the aligner does not care about the initial guess when computing the covariances. and is more numerically stable