Changes getKernel to be a static function
Merge pull request #59 from kimu/static-getkernel

Changes getKernel to be a static function