Added custom Minkowski function.