Add more math syscalls for QVMs

Made tan() a syscall, instead of calling both sin() and cos().
Added atan, pow, exp, log, log10.
Add proper viewport FOV correction

Formula by LordHavoc. Based on code/comment by SpoiR.