Blah
Added the ability to use an array of k values, improved documentation.
Miscellanceous stuff.