Fixed NPE when using the default PrismKernel Constructor.

Fixed #4