If have been trying my best to correct this error but I don't get where the problem is. Anyone has an idea why? I think the error might be on Coarse and Fine methods. 

Thanks

Author