Removed references to R scripts corrrected javadoc

Few typos corrected, PivotingStrategy exposed as i wanted to throw avoid users calling medianOf3 method.
 Awaiting comments from Apache.