def normalise_point(datapoint, mean, std):
    """
    normalise a datapoint to zero mean and unit variance.
    :param datapoint: value as a float
    :param mean: mean of data vector x
    :param std: standard deviation of data vector x
    :return: normalised datapoint (float)
    """
    return (datapoint - mean)/std