Replaced separate sinf and cosf by sincosf