Function using Newton-Raphson method to compute the cube-root of a given number to within some given accuracy.