tweaks and added log kappa form of CSm3n