add pull angle and fixed bug in QGLikelihood