Add documention for the qawf function