At present, the gamma angle averaging uses the brute force method. Implement an interpolation scheme to optimize the averaging.