kStepEstimator function

Function for the computation of k-step estimates