exact sin/cos and eliminated duplicate args computations

1) eliminated duplicate arguments computations for most of builtin functions (except serach & lookup);
2) provide exact results of sin or cos whenever possible like cos(90)