implemented the circular fit method.  eliminated some bugs from all algorithms