Digital ko

extension to digital options to handle knock-out cases, adds a parameter to the engine