Study on Machine Condition Trend Predictions Using Hidden Markov Models Optimized with Genetic Algorithm