Method for cube roots