Machine fault diagnosis using an artificial neural network with data preprocessing