batcoord function

Bhattacharyya discriminant projection