Move Sqrt to seperate file