add mahakovitch
add figs to latex
add mahalanobis distance approximator