Square root method