doc fixes, initial ksp draft
changed to core function with cost result