Create the identity S array as constant memory

Instead of calculating the identity array everytime
we called ksa(), just mempcy it from a constant
array.  This takes up more memory, but improves
performance.

Also, create a header file for the main cpp file
and add the defines and constants to it.