Application of a neural network in the optimization of an enzymatic synthesis