Remove sqrt functions