Disposing DI container (Kernel) once dispose is called on default dependency resolver. Do not leave undisposed memory objects in the application.
Implemeting IDisposable interface for Hash class. Disposing RNG object.
Moving FFTW interop calls to classes named NativeMethods to acquire to FxCop convention CA1060