Method "search range" with gaussian profile as PSF

This file-set contains the method which iterates through different
search ranges to find the optimal angle to rotate the distorted picture.
However, not the same method to creat the PSF is used. Here, a gaussian
profile is used to compute the PSF instead of the bessel function.