Investigation of Machinery Failures