add a public method to return the kernel
Merge pull request #48 from omansour/master

add a public method to return the kernel