Compute length of rational bezier