unified kernel methods in single framework, minor bug changes