some additional functions

added cos, tan, log functions.