Fix wrong sqrt unit library function