added square root scalar function

pls add a test for negative values too