def nd_normalize(x, mu, sigma):
    """Re-center and scale `x` given the mean (mu) and
    standard deviation (sigma) of the distribution of `x`.

    :param x:
    :param mu:
    :param sigma:
    """
    return (x - mu) / sigma