Finished C code; testing
Finished smooth curve in GUI