I might be a bit late for answering this question. This paper in hereThe Mahalanobis distance by MaesschalckD and Et. al. is a good start for understanding the Mahalanobis distance. They providesThey've provided a complete example with numerical values. What I like about it is the geometric representation of the problem is presented.