steal Hough Transform codes from http://vase.essex.ac.uk/software/HoughTransform/