Machine Learning Training Optimization using the Barycentric Correction Procedure