Suppose we have X(nxp) being the multivariate data with n instances and p variables. Now given a point Y(1xp) lying away from X. How can I programmatically tell Y is an outlier?