A monitoring and diagnostic tool for machinery and power plants, based on chaos theory