Updates to KS EOM - not tested yet. Removed *sc* variable in favor of function arguments.