Add buffers for individual kernels and a NonMaxSuppression kernel.

This attempts to add buffers for individual kernels. It also adds a NonMaxSuppression kernel. It is currently not working properly. Comments are added in places where I think there need to be changes.