fixed minor bug in ksgen
Updated docs for milestone 4 release