Debugged Arc curve and Unit Tests