added square root scalar function
fix test suite
implemented scalar function log(x), log(b,x) and ln(x)