Fixed the cabal file and added some curvature functions.
Fixed the findRadius function, and removed compareRadius since it is unnecessary.