add default cache size to chi2 kernel
drop COPYRIGHT file and explicitly mention licenses in README.md and
LICENSE_*
various compiler warning fixes