minK function

Compute projections on restriction cones in Dykstra's algorithm.