Refactoring
New algorithm for gradient computation (Hough transform)
Added -g and --dictionary options