Restructure and add missing Javadocs for the reuse distance prediction stuff.