Update javadoc explanation for use of sqrt