changed weights and removed singlethreaded hough transform.