Contents:
Download the MATLAB codes from GitHub .
Run the script AWPAL.m at first to add subfolders to the path.