Mutual-energy inner product optimization method for constructing feature coordinates and image classification in Machine Learning