removed bugs from PVFunctions::B22() and added codes to LoopTools class.