changed line wrapping and changed name of kappa scale tree plot to plotKappa().