Update trig-function.cpp